<?php if(!defined('APP_NAME')) exit; ?>
{__NOLAYOUT__}
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title></title>
<link href="/statics/css/admin_style.css" rel="stylesheet" />
</head>
<body>
<div class="wrap">
    <div id="error_tips">
        <h2><?php echo isset($options['title']) ? $options['title'] : '成功信息提示'; ?></h2>
        <div class="error_cont">
            <ul>
             <?php if(is_string($options['message'])): ?>
             <li><?php echo $options['message']; ?></li>
             <?php else: ?>
                <?php foreach($options['message'] as $key => $val): ?>
             <li><?php echo $val; ?></li>
                <?php endforeach; ?>
             <?php endif; ?>
            </ul>
            <div class="error_return"><a href="<?php echo isset($options['url']) ? U($options['url']) :'javascript:history.back(-1);' ?>" class="btn">手动跳转</a></div>
        </div>
    </div>
</div>
<?php if(isset($options['url'])): ?>
<script>
setTimeout(function(){
    location.href = '<?php echo U($options['url']); ?>';
},<?php echo $options['wait_time']; ?>);
</script>
<?php endif; ?>
</body>
</html>